<me:UIWFN x:Class="WPFExcelReport.TBTWF"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    x:Name="TV"
           xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    Loaded="Window_Loaded"
     >
    <me:UIWFN.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>      
        <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
        <ucd:NOTConverter x:Key="not"/>
    </me:UIWFN.Resources>
    <WrapPanel IsEnabled="{Binding IsWFFixed,ElementName=TV,Converter={StaticResource not}}">
        <Button Content="{Binding INFO, ElementName=TV}" Click="NewCommand"
                Width="Auto" MinWidth="80" />
        <CheckBox IsChecked="{Binding IsInfo,ElementName=TV}"/>
        <WrapPanel>
            <ex:TXT72 Text="{Binding DES,ElementName=TV,Converter={StaticResource gb2312} }"
                      Visibility="{Binding IsInfo,ElementName=TV,Converter={StaticResource bv}}"
                Width="180"/>
        </WrapPanel>
    </WrapPanel> 
</me:UIWFN>
